import { createRouter, /* createWebHashHistory, */ createWebHistory } from "vue-router";
import { appRouters } from "./router";
import { setupRouterGuard } from "./gurad"

const router = createRouter({
	history: createWebHistory(),
	routes: appRouters,
});

// router-guard
setupRouterGuard(router);

export default router;
